package com.xqboss.apps.dto.equipment;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import javax.validation.constraints.PositiveOrZero;
import java.math.BigDecimal;

/**
 * <p>
 *     修复装备耐久度请求
 * </p>
 * @author Trent
 * @date 2023/9/1
 */
@Data
@ApiModel
public class RepairsDurabilityDto {

    @ApiModelProperty("用户藏品ID")
    private Long userNftId;

    @ApiModelProperty("目标耐久度")
    @NotNull(message = "请输入修复的目标耐久度")
    private BigDecimal targetDurability;

    @ApiModelProperty("消耗热豆")
//    @PositiveOrZero(message = "消耗热豆错误")
//    @NotNull(message = "请输入修复所需消耗的热豆")
    private BigDecimal integral;

    @ApiModelProperty("消耗扳手")
//    @PositiveOrZero(message = "消耗扳手错误")
//    @NotNull(message = "请输入修复所需消耗的扳手")
    private BigDecimal wrench;
}
